﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WikipediaConv
{
    public partial class ProfileDialog : Form
    {
        PerfCounter _counter;
        public ProfileDialog(PerfCounter counter)
        {
            _counter = counter;
            InitializeComponent();
            UpdateTextBox();
        }

        private void UpdateTextBox()
        {
            textBox1.Text = _counter.ToString();
        }

        private void updateButton_Click(object sender, EventArgs e)
        {
            UpdateTextBox();
        }
    }
}
